package com.ruoyi.ipms_patent.mapper;

import com.ruoyi.ipms_patent.entity.CaseHistory;
//import com.ruoyi.ipms_patent.entity.Inventor;
import com.ruoyi.system.api.dto.InventorDto;
import com.ruoyi.system.api.entity.Inventor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*发明人mapper*/
public interface InventorMapper {

    /*新增发明人 通过selectkey标签获得自增的id值 */
    int insertOne(Inventor inventor);

    /*查找发明人（根据专利id）*/
    List<Inventor> selectList(@Param("patentId") int patentId);

    /*全部发明人列表（all）*/
    List<InventorDto> findAllInventor(InventorDto inventorDto);
}
